export function checkIsLogin() {
    return new Promise<void>((resolve, reject) => {
        if (localStorage.username) {
            resolve();
        } else {
            reject();
        }
    });
}
